//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-03A
TN_Widget.CreateTable([['Twelfth Night','Stratford Festival Theatre','Stratford, Canada','Tuesday','5/7/2024','8:00 PM','6272768','Twelfth-Night-5-7-2024'],['Twelfth Night','Stratford Festival Theatre','Stratford, Canada','Friday','5/10/2024','2:00 PM','6272773','Twelfth-Night-5-10-2024'],['Twelfth Night','Stratford Festival Theatre','Stratford, Canada','Tuesday','5/14/2024','2:00 PM','6272774','Twelfth-Night-5-14-2024'],['Twelfth Night','Stratford Festival Theatre','Stratford, Canada','Friday','5/17/2024','8:00 PM','6272769','Twelfth-Night-5-17-2024'],['Twelfth Night','Stratford Festival Theatre','Stratford, Canada','Wednesday','5/22/2024','2:00 PM','6272775','Twelfth-Night-5-22-2024'],['Twelfth Night','Stratford Festival Theatre','Stratford, Canada','Saturday','5/25/2024','8:00 PM','6272770','Twelfth-Night-5-25-2024'],['Twelfth Night','Stratford Festival Theatre','Stratford, Canada','Monday','5/27/2024','7:30 PM','6306050','Twelfth-Night-5-27-2024'],['Twelfth Night','Stratford Festival Theatre','Stratford, Canada','Friday','5/31/2024','2:00 PM','6272776','Twelfth-Night-5-31-2024'],['Twelfth Night','Stratford Festival Theatre','Stratford, Canada','Wednesday','6/5/2024','2:00 PM','6272777','Twelfth-Night-6-5-2024'],['Twelfth Night','Stratford Festival Theatre','Stratford, Canada','Saturday','6/8/2024','2:00 PM','6272778','Twelfth-Night-6-8-2024'],['Twelfth Night','Stratford Festival Theatre','Stratford, Canada','Tuesday','6/11/2024','2:00 PM','6272779','Twelfth-Night-6-11-2024'],['Twelfth Night','Stratford Festival Theatre','Stratford, Canada','Sunday','6/16/2024','2:00 PM','6272780','Twelfth-Night-6-16-2024'],['Twelfth Night','Stratford Festival Theatre','Stratford, Canada','Thursday','6/20/2024','2:00 PM','6272781','Twelfth-Night-6-20-2024'],['Twelfth Night','Stratford Festival Theatre','Stratford, Canada','Saturday','6/22/2024','8:00 PM','6272783','Twelfth-Night-6-22-2024'],['Twelfth Night','Stratford Festival Theatre','Stratford, Canada','Thursday','6/27/2024','8:00 PM','6272784','Twelfth-Night-6-27-2024'],['Twelfth Night','Stratford Festival Theatre','Stratford, Canada','Wednesday','7/3/2024','8:00 PM','6272785','Twelfth-Night-7-3-2024'],['Twelfth Night','Stratford Festival Theatre','Stratford, Canada','Friday','7/5/2024','8:00 PM','6272786','Twelfth-Night-7-5-2024'],['Twelfth Night','Stratford Festival Theatre','Stratford, Canada','Sunday','7/7/2024','2:00 PM','6272792','Twelfth-Night-7-7-2024'],['Twelfth Night','Stratford Festival Theatre','Stratford, Canada','Friday','7/12/2024','2:00 PM','6272793','Twelfth-Night-7-12-2024'],['Twelfth Night','Stratford Festival Theatre','Stratford, Canada','Saturday','7/13/2024','8:00 PM','6272787','Twelfth-Night-7-13-2024'],['Twelfth Night','Stratford Festival Theatre','Stratford, Canada','Wednesday','7/17/2024','8:00 PM','6272788','Twelfth-Night-7-17-2024'],['Twelfth Night','Stratford Festival Theatre','Stratford, Canada','Friday','7/19/2024','8:00 PM','6272789','Twelfth-Night-7-19-2024'],['Twelfth Night','Stratford Festival Theatre','Stratford, Canada','Tuesday','7/23/2024','8:00 PM','6272790','Twelfth-Night-7-23-2024'],['Twelfth Night','Stratford Festival Theatre','Stratford, Canada','Saturday','7/27/2024','8:00 PM','6272791','Twelfth-Night-7-27-2024'],['Twelfth Night','Stratford Festival Theatre','Stratford, Canada','Wednesday','7/31/2024','2:00 PM','6272794','Twelfth-Night-7-31-2024'],['Twelfth Night','Stratford Festival Theatre','Stratford, Canada','Saturday','8/3/2024','8:00 PM','6272795','Twelfth-Night-8-3-2024'],['Twelfth Night','Stratford Festival Theatre','Stratford, Canada','Friday','8/9/2024','8:00 PM','6272796','Twelfth-Night-8-9-2024'],['Twelfth Night','Stratford Festival Theatre','Stratford, Canada','Tuesday','8/13/2024','8:00 PM','6272797','Twelfth-Night-8-13-2024'],['Twelfth Night','Stratford Festival Theatre','Stratford, Canada','Friday','8/16/2024','2:00 PM','6272801','Twelfth-Night-8-16-2024'],['Twelfth Night','Stratford Festival Theatre','Stratford, Canada','Wednesday','8/21/2024','2:00 PM','6272802','Twelfth-Night-8-21-2024'],['Twelfth Night','Stratford Festival Theatre','Stratford, Canada','Saturday','8/24/2024','8:00 PM','6272798','Twelfth-Night-8-24-2024'],['Twelfth Night','Stratford Festival Theatre','Stratford, Canada','Wednesday','8/28/2024','2:00 PM','6272803','Twelfth-Night-8-28-2024'],['Twelfth Night','Stratford Festival Theatre','Stratford, Canada','Friday','8/30/2024','8:00 PM','6272799','Twelfth-Night-8-30-2024'],['Twelfth Night','Stratford Festival Theatre','Stratford, Canada','Wednesday','9/4/2024','8:00 PM','6272808','Twelfth-Night-9-4-2024'],['Twelfth Night','Stratford Festival Theatre','Stratford, Canada','Saturday','9/7/2024','2:00 PM','6272804','Twelfth-Night-9-7-2024'],['Twelfth Night','Stratford Festival Theatre','Stratford, Canada','Thursday','9/12/2024','2:00 PM','6272805','Twelfth-Night-9-12-2024'],['Twelfth Night','Stratford Festival Theatre','Stratford, Canada','Friday','9/13/2024','8:00 PM','6272809','Twelfth-Night-9-13-2024'],['Twelfth Night','Stratford Festival Theatre','Stratford, Canada','Wednesday','9/18/2024','8:00 PM','6272810','Twelfth-Night-9-18-2024'],['Twelfth Night','Stratford Festival Theatre','Stratford, Canada','Saturday','9/21/2024','8:00 PM','6272811','Twelfth-Night-9-21-2024'],['Twelfth Night','Stratford Festival Theatre','Stratford, Canada','Thursday','9/26/2024','2:00 PM','6272806','Twelfth-Night-9-26-2024'],['Twelfth Night','Stratford Festival Theatre','Stratford, Canada','Sunday','9/29/2024','2:00 PM','6272807','Twelfth-Night-9-29-2024'],['Twelfth Night','Stratford Festival Theatre','Stratford, Canada','Tuesday','10/1/2024','2:00 PM','6272816','Twelfth-Night-10-1-2024'],['Twelfth Night','Stratford Festival Theatre','Stratford, Canada','Friday','10/4/2024','8:00 PM','6272812','Twelfth-Night-10-4-2024'],['Twelfth Night','Stratford Festival Theatre','Stratford, Canada','Tuesday','10/8/2024','8:00 PM','6272813','Twelfth-Night-10-8-2024'],['Twelfth Night','Stratford Festival Theatre','Stratford, Canada','Friday','10/11/2024','2:00 PM','6272817','Twelfth-Night-10-11-2024'],['Twelfth Night','Stratford Festival Theatre','Stratford, Canada','Tuesday','10/15/2024','2:00 PM','6272818','Twelfth-Night-10-15-2024'],['Twelfth Night','Stratford Festival Theatre','Stratford, Canada','Saturday','10/19/2024','8:00 PM','6272814','Twelfth-Night-10-19-2024'],['Twelfth Night','Stratford Festival Theatre','Stratford, Canada','Thursday','10/24/2024','2:00 PM','6272819','Twelfth-Night-10-24-2024'],['Twelfth Night','Stratford Festival Theatre','Stratford, Canada','Saturday','10/26/2024','8:00 PM','6272815','Twelfth-Night-10-26-2024']],'Twelfth Night','http://www.ticketnetwork.com/ticket/Twelfth-Night-events.aspx');